<?
include('inc_security.php');

$record_id	= getValue("record_id");

$db_update	= new db_execute("UPDATE " . $gs_table . " SET ord_status = 5 WHERE " . $id_field . " = " . $record_id);
unset($db_update);

echo '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';
echo '<script language="javascript">alert("Đơn hàng thành công.")</script>';

redirect('detail.php?record_id=' . $record_id);
?>